package org.infodavid.common.model.criteria;

import org.infodavid.common.model.IUserGroup;

/**
 * The Interface IUserGroupCriteria.
 */
public interface IUserGroupCriteria extends IPaginatedSearchCriteria, ISortCriteria {

  /**
   * Gets the name pattern.
   * @return the name pattern
   */
  String getNamePattern();

  /**
   * Sets the name pattern. If null, pattern is ignored.
   * @param value the name pattern
   */
  void setNamePattern(String value);

  /**
   * Gets the member login name pattern.
   * @return the member login name pattern
   */
  String getMemberPattern();

  /**
   * Sets the member login name pattern. If null, pattern is ignored.
   * @param value the member login name pattern
   */
  void setMemberPattern(String value);

  /**
   * Gets the role.
   * @return the role
   */
  IUserGroup.EUserRole getRole();

  /**
   * Sets the role. If null, restriction is ignored.
   * @param value the role
   */
  void setRole(IUserGroup.EUserRole value);
}
